import { createApp } from 'vue'
import App from './App.vue'
import { Router } from './router'

const app = createApp(App)
app.use(Router)
interface SystemModule {
  install: Function
}

Object.values(import.meta.globEager<SystemModule>('./modules/*.ts')).forEach(i => i.install?.(app))
app.mount('#app')
